#emcc main.cpp -O3 -o out/test.js
emcc main.cpp -o out/test.js -s EXPORTED_FUNCTIONS=_main,_decode -s EXPORTED_RUNTIME_METHODS=ccall,cwrap